|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraft.src.customstuff.scripts.Living
public class Living
| Constructor Summary | |
|---|---|
Living(net.minecraft.src.EntityLiving living)
|
|
| Method Summary | |
|---|---|
void |
addVelo(double x,
double y,
double z)
Adds velocity to the living |
void |
dropItem(int id,
int count,
int damage)
Makes the living drop an item |
int |
getHealth()
|
int |
getLookingSide()
|
double |
getPositionX()
|
double |
getPositionY()
|
double |
getPositionZ()
|
java.lang.String |
getType()
|
void |
move(double x,
double y,
double z)
Adds the given values to the living's position |
void |
move(net.minecraft.src.customstuff.scripts.Position pos)
Adds the given position to the living's position |
void |
setHealth(int health)
Sets the living's health |
void |
setOnFire(int time)
Sets the living on fire |
void |
setPosition(double x,
double y,
double z)
Sets the living's position to the given coordiantes |
void |
setPosition(net.minecraft.src.customstuff.scripts.Position pos)
Sets the living's position to the given position |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Living(net.minecraft.src.EntityLiving living)
| Method Detail |
|---|
public void move(net.minecraft.src.customstuff.scripts.Position pos)
pos -
public void move(double x,
double y,
double z)
x - The x-valuey - The y-valuez - The z-valuepublic void setPosition(net.minecraft.src.customstuff.scripts.Position pos)
pos -
public void setPosition(double x,
double y,
double z)
x - y - z -
public void dropItem(int id,
int count,
int damage)
id - The id of the itemcount - The amount of the itemdamage - The damage values of the itempublic void setOnFire(int time)
time - How long the living is set on fire in tickspublic void setHealth(int health)
health -
public void addVelo(double x,
double y,
double z)
x - Velocity in x directiony - Velocity in y directionz - Velocity in z directionpublic double getPositionX()
public double getPositionY()
public double getPositionZ()
public int getHealth()
public int getLookingSide()
public java.lang.String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||